package com.ruoyi.project.hissystem.service.impl;

import com.ruoyi.project.hissystem.domain.ProjectFee;
import com.ruoyi.project.hissystem.mapper.HisProjectFeeMapper;
import com.ruoyi.project.hissystem.service.IHisProjectFeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : 高向前
 * @date : 10:34 2021/8/18
 */
@Service
public class HisProjectFeeServiceImpl implements IHisProjectFeeService {

    @Autowired
    private HisProjectFeeMapper hisProjectFeeMapper;

    @Override
    public List<ProjectFee> selectProjectFeeList(ProjectFee projectFee) {
        return hisProjectFeeMapper.selectProjectFeeList(projectFee);
    }

    @Override
    public List<ProjectFee> selectProjectFeeType() {
        return hisProjectFeeMapper.selectProjectFeeType();
    }

    @Override
    public int addProjectFee(ProjectFee projectFee) {
        return hisProjectFeeMapper.addProjectFee(projectFee);
    }

    @Override
    public int updateProjectFee(ProjectFee projectFee) {
        return hisProjectFeeMapper.updateProjectFee(projectFee);
    }

    @Override
    public ProjectFee selectProjectFeeById(int projectId) {
        return hisProjectFeeMapper.selectProjectFeeById(projectId);
    }

    @Override
    public int deleteProjectFees(int[] projectIds) {
        return hisProjectFeeMapper.deleteProjectFees(projectIds);
    }
}
